package com.njupt.user.service;

import com.njupt.user.dao.OrderMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by ASUS on 2019/5/9.
 */
@Service("OrderTestService")
public class OrderTestServiceimpl implements OrderTestService {
    @Autowired
    private OrderMapper orderMapper;
    @Override
    public List<String> selectBoxno(Map<String, String> map) {
        return orderMapper.selectBoxno(map);
    }

    @Override
    public List<String> selectBoxnoBynow() {
        return orderMapper.selectBoxnoBynow();
    }

    @Override
    public List<String> selectBoxnoByUsername(Map<String, String> map) {
        return orderMapper.selectBoxnoByUsername(map);
    }

    @Override
    public void addOrder(Map<String, String> map) {
        orderMapper.addOrder(map);
    }
}
